package com.power.ding.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
*  钉钉消息发送条件查询
*/

@Data
@ApiModel(value="钉钉消息发送条件查询")
@EqualsAndHashCode(callSuper = false)
public class Di_messagePageInfo extends BasePageInfo{

        @ApiModelProperty(value = "序号")
        private String f_id;
        @ApiModelProperty(value = "序号操作符")
        private String f_id_op = "like";

        @ApiModelProperty(value = "发送人id")
        private String f_sendUserId;
        @ApiModelProperty(value = "发送人id操作符")
        private String f_sendUserId_op = "like";

        @ApiModelProperty(value = "发送人姓名")
        private String f_sendUserName;
        @ApiModelProperty(value = "发送人姓名操作符")
        private String f_sendUserName_op = "like";

        @ApiModelProperty(value = "接收人ids")
        private String f_receiveUserId;
        @ApiModelProperty(value = "接收人ids操作符")
        private String f_receiveUserId_op = "like";

        @ApiModelProperty(value = "接收人姓名s")
        private String f_receiveUserName;
        @ApiModelProperty(value = "接收人姓名s操作符")
        private String f_receiveUserName_op = "like";

        @ApiModelProperty(value = "消息内容")
        private String f_content;
        @ApiModelProperty(value = "消息内容操作符")
        private String f_content_op = "like";

        @ApiModelProperty(value = "消息详情地址")
        private String f_actUrl;
        @ApiModelProperty(value = "消息详情地址操作符")
        private String f_actUrl_op = "like";

        @ApiModelProperty(value = "提醒方式")
        private Integer f_remindType;
        @ApiModelProperty(value = "提醒方式操作符")
        private String f_remindType_op = "=";
        @ApiModelProperty(value = "发送时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_sendTime;
        @ApiModelProperty(value = "发送时间操作符")
        private String f_sendTime_op = ">=";

        @ApiModelProperty(value = "发送时间_01", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_sendTime_01;
        @ApiModelProperty(value = "发送时间操作符")
        private String f_sendTime_01_op = "<=";

        @ApiModelProperty(value = "发送失败错误提示")
        private String f_sendError;
        @ApiModelProperty(value = "发送失败错误提示操作符")
        private String f_sendError_op = "like";

        @ApiModelProperty(value = "统一消息平台id")
        private String f_remoteid;
        @ApiModelProperty(value = "统一消息平台id操作符")
        private String f_remoteid_op = "like";

}